{%include file="m.index.header.tpl.php"%}
<!--头部 end-->
<!--主体部分-->
<div class="container" style="margin-top:70px;">
    <div class="row" style="margin-top:10px;">
        <form  action="" method="post">
            <div class="col-xs-12 distance"   >
                <div class="form-group" style="padding-top:0px;">
                    <label for="inputEmail3" class="col-sm-2 control-label">班级:</label>
                    <div class="col-sm-10">
                        {%foreach from=$class_lists key=key item=value%}
                        <label class="choice" for="c{%$value.class_id%}"><input type="checkbox" name="class_id[]" value="{%$value.class_id%}" id="c{%$value.class_id%}">{%$value.class_name%}</label>
                        <!--<label><input type="radio"  value="{%$value.class_id%}" name="class_id"> {%$value.class_name%}</label>-->
                        {%/foreach%}
                    </div>
                </div>
            </div>
            <div class="col-xs-12 distance"   >
                <div class="form-group" style="padding-top:0px;">
                    <label for="" class="col-sm-2 control-label">学科名称:</label>
                    <div class="col-sm-10">
                        <select class="form-control" name="subject_id">
                            <option  >请选择学科</option>
                            {%foreach from=$subject_lists key=key item=value%}
                            <option value="{%$value.subject_id%}">{%$value.subject_name%}</option>
                            {%/foreach%}
                        </select>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label for="" class="col-sm-2  control-label">时间：</label>
                <div class="col-sm-10 ">
                    <input type="text" class="form-control"  id="start_time" name="homework_date" value="{%$shop_data.assign_time%}">
                </div>
            </div>
            <div class="col-xs-12 distance"   >
                <div class="form-group" style="padding-top:0px;">
                    <label for="" class="col-sm-2 control-label">作业内容:</label>
                    <div class="col-sm-10">
                        <textarea class="form-control" rows="3" name="homework_content"></textarea>
                    </div>
                </div>
            </div>
            <div class="row text-center" style="margin-top:15px;margin-left:1px; margin-right:1px;">
                <button type="submit" class="btn btn-success  absolutely">确定</button>
            </div>
        </form>
    </div>

</div>
<!--container  end-->
<!--主体部分  end-->
<!--底部-->
{%include file="m.index.footer.tpl.php"%}
<!--container  end-->

    

<!--底部end-->
    <script src="mstatic/js/jquery.min.js" type="text/javascript"></script>
<script src="mstatic/js/bootstrap.min.js"  type="text/javascript"></script>
<script src="mstatic/js/bootstrap.min.js"  type="text/javascript"></script>
<script src="mstatic/js/jquery-ui.js"  type="text/javascript"></script><!--日历-->
<script>
    $(function() {
        $( "#start_time" ).datepicker({
            defaultDate: "+1w",
            changeMonth: true,
            changeYear: true,
            numberOfMonths:1,

        });

    });
</script>
</body>
</html>
